import service from '../utils/request'

//封装请求

//分类--一级
export function category_list(payload={}){
    return service.get('/api/category/list',{params:payload})
}
//分类--二三级
export function category_subcate(payload={id}){
    return service.get('/api/category/subcate',{params:payload})
}